import { HTMLElement } from 'node-html-parser';
import s from './ns';

import init from '@feidao/web/framework/nodejs/d/component';
import { id, spaceid, systemid, refsystemid } from './config';

import na001 from './na001';

export default function main(html: HTMLElement, url: string, query: any) {
const actions = { na001 };

return init(id, s, actions, html, url, query, { spaceid, systemid, refsystemid });
}